package com.study.it.sms;

import org.springframework.boot.context.properties.ConfigurationProperties;

//去约定yml如何读取配置，如何书写
@ConfigurationProperties(prefix = "my.sms")
public class SmsProperties {
    private String url;
    private String uid;
    private String key;
    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }



}
